<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>朝闻天下后台管理</title>
    <include file="Public/head"/>
    <link href="__PUBLIC__/assets_h/stylesheets/datepicker.css" media="all" rel="stylesheet" type="text/css"/>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.bootstrap.wizard.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/fullcalendar.min.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.dataTables.min.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.easy-pie-chart.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.isotope.min.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.fancybox.pack.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/select2.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.inputmask.min.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.validate.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/bootstrap-fileupload.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/bootstrap-datepicker.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/bootstrap-timepicker.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/daterange-picker.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/date.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/jquery.sparkline.min.js" type="text/javascript"></script>
    <script src="__PUBLIC__/assets_h/javascripts/main.js" type="text/javascript"></script>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
</head>
<body class="no-skin">
<include file="Public/header"/>

<div id="wrap" style="margin-bottom: 60px">
    <div class="container-fluid">
        <include file="Public/sidmenu"/>
        <div class="col-md-11 col-md-offset-2 " style="margin-bottom: 30px">
            <h2 style="color: #56abe4; margin-bottom: 0px;padding-bottom: 0px;">
                <p class="bg-white" style="font-weight:bold;margin-bottom: 10px;margin-top: 10px;font-size: 30px">论坛管理</p>
            </h2>
            <hr>
        </div>

        <div class="col-lg-11 col-md-11 col-sm-11 col-xs-11 col-lg-offset-1 col-md-offset-1 col-sm-offset-1 col-xs-offset-1"  style="">
            <div class="row">
                <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6 col-lg-offset-1 col-md-offset-1 col-sm-offset-1 col-xs-offset-1"
                     style="margin-left: 7%;margin-right: 0px;padding-right: 0px;border: solid 1px #d4ded5;border-radius: 5%">
                    <form method=post action="{:U('Fourm/fsearch')}" enctype="multipart/form-data"class="form-horizontal" style="margin-left: 35%;margin-top: 1%;width: 30%">
                        <div class="form-group col-md-12" >
                            <div class="col-md-10" style="margin-right: 0px;padding-right: 0px">
                                <input type="search" name="ftitle" results=s style="float: right" class="form-control" id="exampleInputtext1" placeholder="请搜索标题关键字" required>
                            </div>
                        </div>
                    </form>
                    <h3 style="text-align: left">论坛评论列表</h3>
                    <table class="table table-hover">
                        <thead>
                        <tr>
                            <th style="text-align: center">序号</th>
                            <th style="text-align: center">评论者</th>
                            <th style="text-align: center">新闻标题 </th>
                            <th style="text-align: center">评论内容</th>
                            <th style="text-align: center">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <volist name="flist" id="vo">
                        <tr>
                            <td style="text-align: center">{$vo['f_code']}</td>
                            <td style="text-align: center">{$vo['username']}</td>
                            <td style="text-align: center">{$vo['title']}</td>
                            <td style="text-align: center">{$vo['comment']}</td>
                            <td style="text-align: center">
                                <a href="{:U('Fourm/fdel')}?fid={$vo['fid']}"onClick="return confirm('确定要删除吗？')" ><img src="__PUBLIC__/images/delete.png" width="20" height="20"></a>

                            </td>
                        </tr>
                        </volist>
                        </tbody>
                    </table>
                </div>

                <div class="col-lg-5 col-md-5 col-sm-5 col-xs-5 " style="margin-left: 1%;border: solid 1px #d4ded5;border-radius: 5%">
                    <form method=post action="{:U('Fourm/rsearch')}" enctype="multipart/form-data"class="form-horizontal" style="margin-left: 35%;margin-top: 1%;width: 40%">
                        <div class="form-group col-md-12" >
                            <div class="col-md-10" style="margin-right: 0px;padding-right: 0px">
                                <input type="search" name="comment" results=s style="float: right" class="form-control" id="exampleInputtext2" placeholder="请搜索评论内容关键字" required>
                            </div>
                        </div>
                    </form>
                    <h3 style="text-align: left">论坛评论回复列表</h3>
                    <table class="table table-hover">
                        <thead>
                        <tr>
                            <th style="text-align: center">序号</th>
                            <th style="text-align: center">评论内容</th>
                            <th style="text-align: center">回复者</th>
                            <th style="text-align: center">回复内容</th>
                            <th style="text-align: center">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <volist name="rlist" id="val">
                        <tr>
                            <td style="text-align: center">{$val["r_code"]}</td>
                            <td style="text-align: center">{$val["comment"]}</td>
                            <td style="text-align: center">{$val["username"]}</td>
                            <td style="text-align: center">{$val["reply"]}</td>
                            <td style="text-align: center">
                                <a href="{:U('Fourm/rdel')}?rid={$val['rid']}"onClick="return confirm('确定要删除吗？')" ><img src="__PUBLIC__/images/delete.png" width="20" height="20"></a>

                            </td>
                        </tr>
                       </volist>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>


    </div>
</div>
</body>
</html>
